package com.hkts.naturalgas.performance.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import javax.persistence.Transient;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author yck
 * @since 2020-12-23
 */
public class HkAssessmentInfo extends Model<HkAssessmentInfo> {

    private static final long serialVersionUID = 1L;

    private String id;
    private String createBy;
    private LocalDateTime createTime;
    private Integer delFlag;
    private String updateBy;
    private LocalDateTime updateTime;
    private String assessmentName;
    private String assessmentStatus;
    private LocalDateTime endTime;
    private String processInstanceId;
    private String hontUserId;
    private String nickName;
    private String departmentId;
    private String departmentTitle;
    private Float assessmentScore;
    private String businessType;
    private String formKey;
    private String hontPostId;
    private String hontPostTitle;
    private String flowTemplateId;
    @Transient
    @TableField(exist=false)
    private Integer num;
    @Transient
    @TableField(exist=false)
    private String scoreState;
    @Transient
    @TableField(exist=false)
    private String taskId;

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getScoreState() {
        return scoreState;
    }

    public void setScoreState(String scoreState) {
        this.scoreState = scoreState;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getFlowTemplateId() {
        return flowTemplateId;
    }

    public void setFlowTemplateId(String flowTemplateId) {
        this.flowTemplateId = flowTemplateId;
    }

    public String getHontPostId() {
        return hontPostId;
    }

    public void setHontPostId(String hontPostId) {
        this.hontPostId = hontPostId;
    }

    public String getHontPostTitle() {
        return hontPostTitle;
    }

    public void setHontPostTitle(String hontPostTitle) {
        this.hontPostTitle = hontPostTitle;
    }

    public String getFormKey() {
        return formKey;
    }

    public void setFormKey(String formKey) {
        this.formKey = formKey;
    }

    public Float getAssessmentScore() {
        return assessmentScore;
    }

    public void setAssessmentScore(Float assessmentScore) {
        this.assessmentScore = assessmentScore;
    }
    public String getHontUserId() {
        return hontUserId;
    }

    public void setHontUserId(String hontUserId) {
        this.hontUserId = hontUserId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public String getDepartmentTitle() {
        return departmentTitle;
    }

    public void setDepartmentTitle(String departmentTitle) {
        this.departmentTitle = departmentTitle;
    }


    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getAssessmentName() {
        return assessmentName;
    }

    public void setAssessmentName(String assessmentName) {
        this.assessmentName = assessmentName;
    }

    public String getAssessmentStatus() {
        return assessmentStatus;
    }

    public void setAssessmentStatus(String assessmentStatus) {
        this.assessmentStatus = assessmentStatus;
    }

    public LocalDateTime getEndTime() {
        return endTime;
    }

    public void setEndTime(LocalDateTime endTime) {
        this.endTime = endTime;
    }

    public String getProcessInstanceId() {
        return processInstanceId;
    }

    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }

    public static final String ID = "id";

    public static final String CREATE_BY = "create_by";

    public static final String CREATE_TIME = "create_time";

    public static final String DEL_FLAG = "del_flag";

    public static final String UPDATE_BY = "update_by";

    public static final String UPDATE_TIME = "update_time";

    public static final String ASSESSMENT_NAME = "assessment_name";

    public static final String ASSESSMENT_STATUS = "assessment_status";

    public static final String END_TIME = "end_time";

    public static final String PROCESS_INSTANCE_ID = "process_instance_id";
    public static final String FORM_KEY = "form_key";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "HkAssessmentInfo{" +
                ", id=" + id +
                ", createBy=" + createBy +
                ", createTime=" + createTime +
                ", delFlag=" + delFlag +
                ", updateBy=" + updateBy +
                ", updateTime=" + updateTime +
                ", assessmentName=" + assessmentName +
                ", assessmentStatus=" + assessmentStatus +
                ", endTime=" + endTime +
                ", processInstanceId=" + processInstanceId +
                "}";
    }
}
